#!/bin/sh

# call "rabbitmqctl stop" when exiting
#trap "echo Stopping rabbitmq; rabbitmqctl stop; exit 0;" EXIT
trap "rabbitmqctl stop; exit 0;" TERM

rabbitmq-server -detached

read unused
